﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using ConsultasLogopedia.TestEF;
using ConsultasLogopedia.Domain;
using ConsultasLogopedia.Controllers;

namespace ConsultasLogopedia.Console
{
    class Program
    {

        static ServiceManager ServiceManager = new ServiceManager();
       

        static void Main(string[] args)
        {                

            Usuario u = new Usuario();

            u.Apellidos="dd";
            u.Nombre="dd";
            u.Login="dd";
            u.Password="dd";
            u.Email="dd";
            
            ServiceManager.Usuario.Save(u);
                     

            //Usuario u = (from c in context.Usuarios
            //             where c.Id == 2
            //             select c).First();

            Consulta con = new Consulta();

            //con.Texto = "aaaa";
            //con.Fecha = Convert.ToDateTime("14/09/2010");
            //con.Respondida = false;

            //u.Consulta.Add(con);

            //context.SaveChanges();
        }
    }
}
